TrumanWong

Crontab Generator

Online verification and parsing of Crontab expressions

Introduction to Crontab

Linux crontab is a command used to execute programs regularly. The time format is as follows:

┌──────────── [Optional, this field is not supported by the standard implementation] second (0 - 59)
| ┌────────── minute (0 - 59)
| | ┌──────── hour (0 - 23)
| | | ┌────── Day of the month (1 - 31)
| | | | ┌──── month (1 - 12) 
| | | | | ┌── Day of the week (0 - 6) (Sunday is 0)
| | | | | |
* * * * * * command

Description analysis:

symbolmeaningexampleDescription
*Indicates any value matching this field* * * * *Execute once every minute
-Indicates range1-10 * * * *Trigger every minute from 1 minute to 10 minutes
,List enumeration values1,10 * * * *Trigger every minute at 1 and 10 minutes
/Trigger starts at the starting time, and then triggers every fixed time*/10 * * * *Trigger every 10 minutes